package com.blue.waffle.iwc;

import android.os.Bundle;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.blue.waffle.iwc.database.AndroidSqliteActionResolver;
import com.blue.waffle.iwc.game.IWCGame;

public class MainActivity extends AndroidApplication {
	
	private AndroidSqliteActionResolver androidSqliteActionResolver;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
        cfg.useGL20 = true;
        cfg.useAccelerometer=false;
        cfg.useCompass=false;
        androidSqliteActionResolver=new AndroidSqliteActionResolver(this);
        
        initialize(new IWCGame(androidSqliteActionResolver), cfg);
    }
}